//页面打开后动画
var left = document.getElementById("left");
var right = document.getElementById("right");
setTimeout(function(){
	left.style.position = "absolute";
	left.style.top = "7px";
	left.style.left = "7px";
	
	right.style.position = "absolute";
	right.style.top = "7px";
	right.style.left = "603px";
},500);
//导航下拉菜单
$("#b2").hover(function() {
	$("#menu").css("display", "block");
}, function() {
	$("#menu").css("display", "none");
});
$("#menu").hover(function() {
	$("#menu").css("display", "block");
}, function() {
	$("#menu").css("display", "none");
});
//二维码
$("#weixin").hover(function() {
	$("#code").css("display", "block");
}, function() {
	$("#code").css("display", "none");
});
$("#pic1").on("click", function() {
	window.open("http://www.subway.com.cn/images/uploadImg/2016040117224114977a.png");
});
$("#pic2").on("click", function() {
	window.open("http://www.subway.com.cn/images/uploadImg/201612191444322d3b38.jpg");
});